package com.ham.mud.commands.spells;

import com.ham.mud.ServerConnection;
import com.ham.mud.Targetable;

/**
 * Created by hlucas on Jul 7, 2011 at 12:41:53 PM
 */
public abstract class Spell implements Targetable {
    public abstract void castSpell(ServerConnection connection, String target);
    public abstract String getName();
    public abstract int getManaCost();

    public String[] getTargetingKeys() {
        return new String[]{getName().toLowerCase()};
    }

}
